
///结构Student
/// 包含基本信息:name,age,score
pub struct Student{
    pub name:String,
    pub age:u8,
    pub score:f32
}

impl  Student{    
    pub fn play(&self){
        print!("{}(年龄={})正在游戏 ",self.name,self.age);
    }
}